package com.example.fashionshoes.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Goods {
    private Integer id;
    private String name;
    @TableField("image")
    private String img;
    private Integer salesCount;
    private Integer commentCount;
    private Integer collectCount;
    private Integer stock;
    private Integer type;
    private Integer categoryId;
    private BigDecimal oldPrice;
    private BigDecimal price;
    @TableField("`desc`")
    private String desc;
    private Integer brandId;
    private LocalDate createTime;
    private LocalDate updateTime;
}
